package com.viknix.threadpool.manager.client.alertor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: Dongqi
 * @Date: 2021-10-21 22:13
 * @Version 1.0
 * @Description 告警参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AlertParam {

    /**
     * 是否开启警报器
     */
    private boolean isAlert;

    /**
     * 线程池活跃度阈值
     */
    private Integer livenessAlarm;

    /**
     * 阻塞队列容量阈值
     */
    private Integer capacityAlarm;

}
